<?php
/**
 * Created by PhpStorm.
 * User: yu
 * Date: 18-12-28
 * Time: 上午10:53
 */

namespace app\components\exceptions;


class InvalidRequestException extends Exception
{
    use Handle;

    public static $exceptionCode=[
        1000=>['msg'=>'参数错误'],
        1001=>['msg'=>'数据验证不通过'],
        1002=>['msg'=>'添加后台用户失败'],
        1003=>['msg'=>'载入数据失败'],
        1004=>['msg'=>'管理员信息不存在'],
        1005=>['msg'=>'删除管理员失败'],
        1006=>['msg'=>'更新管理员数据失败'],
        1007=>['msg'=>'密码错误！'],
        1008=>['msg'=>'更新管理员密码失败'],
        1009=>['msg'=>'添加会员失败'],
        1010=>['msg'=>'用户名不存在'],
        1011=>['msg'=>'目录添加失败'],
        1012=>['msg'=>'分类信息不存在'],
        1013=>['msg'=>'分类信息更新失败'],
    ];
}